package com.xcity.pomelo.request;

import com.xcity.game.chat.ChatChannel;
import com.xcity.pomelo.PomeloRoute;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.PomeloPacket;

@PomeloMessage(route = PomeloRoute.CHAT_RECORDS)
public class GetChatRecordsRequest extends PomeloPacket {
	
	private ChatChannel channel;
	private String targetRoleId;
	private int offset;
	private int count;
	
	public ChatChannel getChannel() {
		return channel;
	}

	public void setChannel(ChatChannel channel) {
		this.channel = channel;
	}

	public String getTargetRoleId() {
		return targetRoleId;
	}

	public void setTargetRoleId(String targetRoleId) {
		this.targetRoleId = targetRoleId;
	}

	public int getOffset() {
		return offset;
	}

	public void setOffset(int offset) {
		this.offset = offset;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

}
